//
//  PerseusData.h
//  BrowsePerseus
//
//  Created by Junghoon Jee on 11. 3. 10..
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface PerseusData : NSObject {
	NSMutableDictionary	*worksOfWriters;
	NSMutableDictionary	*booksOfWorks;
	NSMutableDictionary	*urlOfWriter;
	NSMutableDictionary	*urlOfWork;
	NSMutableDictionary	*textOfWork;
}

-(void) initData;
-(void) releaseData;

-(NSInteger) getWriterCount;
-(NSString*) getWriterForIndex: (NSInteger)row;
-(NSInteger) getWorkCountForWriter: (NSString*)name;
-(NSString*) getWorkOfWriter: (NSString*)name forRow: (NSInteger)row;
-(NSInteger) getIndexOfWork:(NSString *)work ofWriter:(NSString*)writer;
-(NSString*) getURL: (NSString*)writer forWork: (NSString*)work inBook: (NSInteger)book onLine: (NSInteger)line;

@end

extern PerseusData* g_pData;